# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=dfl-ipc
pkgver=0.2.0
pkgrel=0
pkgdesc="Very simple set of IPC classes for inter-process communication"
url="https://gitlab.com/desktop-frameworks/ipc"
arch="all"
license="GPL-3.0-only"
makedepends="qt5-qtbase-dev meson"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/desktop-frameworks/ipc/-/archive/v$pkgver/ipc-v$pkgver.tar.gz"
builddir="$srcdir/ipc-v$pkgver"
options="!check" # no test suite

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
bb143bf336aa400bea6187b230eda82a9f42c15d881a43c6af87af7d2d340f96eb0e2b1a8941bc7200d0721d1978acf5a42bee42b137472a17a89c3c8d149bd3  dfl-ipc-0.2.0.tar.gz
"
